﻿<%@ control language="C#" autoeventwireup="true" inherits="UserControls_DoiMatKhau, App_Web_ktdrx0ti" %>

<style type="text/css">
    .auto-style1
    {
        height: 23px;
    }
    .auto-style2
    {
        width: 101px;
    }
    .auto-style3
    {
        height: 23px;
        width: 101px;
    }
</style>

<form id="form2" runat="server">
    &nbsp;<table style="width:100%;">
        <tr>
            <td class="auto-style2">Người dùng:</td>
            <td>
    <asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="SqlDataSource1" DataTextField="TenND" DataValueField="MaND">
    </asp:DropDownList>
                <asp:Label ID="Label2" runat="server"></asp:Label>
            </td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td class="auto-style3">Mật khẩu mới:</td>
            <td class="auto-style1">
        <asp:TextBox ID="TextBox1" runat="server" TextMode="Password"></asp:TextBox>
            </td>
            <td class="auto-style1"></td>
        </tr>
        <tr>
            <td class="auto-style2">Nhập lại:
        </td>
            <td>
        <asp:TextBox ID="TextBox2" runat="server" TextMode="Password"></asp:TextBox>
            </td>
            <td>&nbsp;</td>
        </tr>
    </table>
    <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Đổi mật khẩu" />
    <asp:Label ID="Label1" runat="server" Font-Bold="True" ForeColor="Red"></asp:Label>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:SMSWebConnectionString %>" SelectCommand="SELECT [MaND], [TenND] FROM [NguoiDung]"></asp:SqlDataSource>
    <br />
</form>